package com.bz.websocket;

/**
 * @author zhongyongbin
 * @since 2021/5/10
 */
public class UserSession {

    private String sessionId;

    private String userId;

    private Long expireAt;

    public UserSession() {
    }

    public UserSession(String sessionId, String userId) {
        this.sessionId = sessionId;
        this.userId = userId;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Long getExpireAt() {
        return expireAt;
    }

    public void setExpireAt(Long expireAt) {
        this.expireAt = expireAt;
    }
}
